package com.lianrui.app.user.services.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lianrui.app.user.dao.IUserDao;
import com.lianrui.app.user.domian.User;
import com.lianrui.app.user.services.IUserService;
import com.lianrui.app.user.vos.UserPage;
import com.lianrui.core.AbstractService;
import com.lianrui.core.IDao;

/**
 * 功能描述：用户服务实现
 *
 * @author LJQ
 *
 * 2015年12月31日 下午3:12:40
 */
@Service("userService")
public class UserService extends AbstractService<UserPage, User, Integer> implements IUserService {
	
	private static final long serialVersionUID = 1L;

	private static final Logger LOGGER = LoggerFactory.getLogger(UserService.class);
	
	@Autowired
	IUserDao userDao;
	
	@Override
	public IDao<UserPage, User, Integer> getDao() {
		return userDao;
	}
	
	@Override
	protected Logger getLogger() {
		return LOGGER;
	}
}
